<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>UUGU NEWS【新闻】--&lt;<{$siteconfig.sitename}>&gt;</title>
        <link href="assets/css/style.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="assets/js/jquery.js"></script>
        <script type="text/javascript" src="assets/js/jquery.easing.1.3.js"></script>	
        <link href="assets/css/featuredcontent.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="assets/js/jquery-ui.min.js" ></script>
    </head>

<body>
<form id="form1" name="form1" method="post" action="">
  <div id="wrapper">
    <{include file="default/head.html"}>
    <div id="content">
      <div id="leftsection">
        <h1>UUGU <{if $smarty.get.item==1}>News<{else}>Notes <{/if}> - Our Ideas</h1>
        
        <{foreach from=$results item=result}>
        <p><img src="assets/images/arrow.png" alt="" width="19" height="18" align="top" />
            <a href="<{spUrl c=news a=show_news news_item=$result.news_item news_id=$result.news_id}>">【<{$result.news_type}>】<{$result.news_name|truncate:20:"...":true}>  <span style="float: right"><{$result.news_date}></span></a><br /></p>
        <{/foreach}>  
        <br />
        <hr />
        <p>
            <{if $pager}>
            共有信息<{$pager.total_count}>条，共有<{$pager.total_page}>页（每页<{$pager.page_size}>条信息）：
            <!--在当前页不是第一页的时候，显示前页和上一页-->
            <{if $pager.current_page != $pager.first_page}>
            <a href="<{spUrl c=news a=index item=$smarty.get.item|Default:1 page=$pager.first_page}>">前页</a> | 
            <a href="<{spUrl c=news a=index item=$smarty.get.item|Default:1 page=$pager.prev_page}>">上一页</a> | 
            <{/if}>
            <!--开始循环页码，同时如果循环到当前页则不显示链接-->
            <{foreach from=$pager.all_pages item=thepage}>
            <{if $thepage != $pager.current_page}>
            <a href="<{spUrl c=news a=index item=$smarty.get.item|Default:1 page=$thepage}>"><{$thepage}></a>
            <{else}>
            <b><{$thepage}></b>
            <{/if}>
            <{/foreach}>
            <!--在当前页不是最后一页的时候，显示下一页和后页-->
            <{if $pager.current_page != $pager.last_page}>
            | 
            <a href="<{spUrl c=news a=index item=$smarty.get.item|Default:1 page=$pager.next_page}>">下一页</a> | 
            <a href="<{spUrl c=news a=index item=$smarty.get.item|Default:1 page=$pager.last_page}>">后页</a>
            <{/if}>
            <{/if}>
        </p>
      </div>
      <div id="right">
        <h1>Latest Project</h1>
        <p><img src="assets/images/pic04.gif" width="258" height="89" alt="" /></p>
        <p>【NSS官网项目】---项目采用PHP相关框架开发，开发周期（2011.11.20-2011.12.—），项目名（NSS）。</p>
        <h1>&nbsp;</h1>
        <p><img src="assets/images/pic05.gif" width="258" height="89" alt="" /></p>
        <p><b>【待续】</b><br/>待续...</p>
      </div>
    </div>
  </div>
  <{include file="default/footer.html"}>
</form>
</body>
</html>
